package com.example.live.service.impl;

import com.example.live.pojo.vo.LoginVO;
import com.example.live.service.IdentityService;
import com.example.live.util.CommonUtils;

public class IdentityServiceImpl implements IdentityService {

    // 发送验证码
    @Override
    public void getCode(String phone) {
        String code = CommonUtils.getRandomString(6);
        System.out.println(code);
    }

    @Override
    public LoginVO login(String phone, String verificationCode) {
        return null;
    }

}
